import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入ElementUi
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式
import '@/styles/global.css'

// 导入axios
import axios from 'axios'

// 把axios挂载到axios原型对象上
Vue.prototype.$axios = axios

Vue.use(ElementUI)

Vue.config.productionTip = false

Vue.component('Bread', () => import('./components/Bread.vue'))
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
